package com.project.biz;

import com.baomidou.mybatisplus.extension.service.IService;
import com.project.entity.CmsProductSku;
import com.project.entity.CmsShoppingCartProductSku;

/**
 * @Description: 购物车产品SKU业务层接口类
 * @Author: zhuchi
 * @CreateDate: 2020/10/16 19:21
 * @Version: 1.0
 */
public interface CmsShoppingCartProductSkuBiz extends IService<CmsShoppingCartProductSku> {

    /**
     * 添加购物车产品SKU
     * @param cartId
     * @param cmsProductSku
     * @return
     */
    int addShoppingCartProductSku(Long cartId, CmsProductSku cmsProductSku);

    /**
     * 根据购物车ID删除购物车产品SKU
     * @param cartId
     * @return
     */
    int delShoppingCartProductSku(Long cartId);

}
